package businessLogic.facade;

import businessLogic.service.TareaService;
import vo.IValueObject;
import vo.TareaVO;

/**
 *
 * @author Alexander
 */
public class TareaFacade extends Facade {

    public TareaFacade() {
        setService(new TareaService());
    }

    @Override
    protected boolean exist(IValueObject vo) {
        if (super.find(((TareaVO) vo).getId()) == null) {
            return false;
        } else {
            return true;
        }
    }
}
